/* black bordered arrow's head */
package renders.edge.arrows
{
	import flash.display.Graphics;
	import org.un.cava.birdeye.ravis.enhancedGraphLayout.visual.edgeRenderers.EdgeDrawer;
	import flash.geom.Point;
	public class DependancyHead implements IArrowHeadDrawer
	{
		import renders.edge.ExtendedEdge;
		
		public function DependancyHead()
		{
		}

	
		public function drawArrowsHead(_g:Graphics, drawer:ExtendedEdge,color:Number,alpha:Number, toX:Number, toY:Number,  arrowLine1:Object, arrowLine2:Object):void
		{
			_g.lineStyle(1, color, alpha);
			drawer.move(_g, toX, toY);
           	drawer.line(_g, arrowLine1.x, arrowLine1.y);            
            drawer.move(_g, arrowLine2.x, arrowLine2.y);
           	drawer.line(_g, toX, toY);
             
            
		}
		
	}
}